/********************************************************************************
 *      Copyright:  (C) 2020 YangZhengQing<2489833081@qq.com>
 *                  All rights reserved.
 *
 *       Filename:  socket_init.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(04/05/2020)
 *         Author:  YangZhengQing <2489833081@qq.com>
 *      ChangeLog:  1, Release initial version on "04/05/2020 02:01:27 PM"
 *                 
 ********************************************************************************/

#ifndef _SOCKET_INIT_H_
#define _SOCKET_INIT_H_

#include<sys/socket.h>
#include <netinet/in.h>
int socket_init(char *serv_IP,int serv_port,struct sockaddr_in *serv_addr);
int connect_server(int sockfd,struct sockaddr_in *serv_addr);
#endif
